function e(e) {
    return function(e) {
        return e.replace(i, "-$1").toLowerCase();
    }(e).replace(n, "-ms-");
}

function r(r, o) {
    return t[r] || "number" != typeof o ? "content" !== r || f.test(o) || (o = "'" + o.replace(/'/g, "\\'") + "'") : o += "px", 
    e(r) + ": " + o + ";  ";
}

var t = {
    boxFlex: !0,
    boxFlexGroup: !0,
    columnCount: !0,
    flex: !0,
    flexGrow: !0,
    flexPositive: !0,
    flexShrink: !0,
    flexNegative: !0,
    fontWeight: !0,
    lineClamp: !0,
    lineHeight: !0,
    opacity: !0,
    order: !0,
    orphans: !0,
    widows: !0,
    zIndex: !0,
    zoom: !0,
    fillOpacity: !0,
    strokeDashoffset: !0,
    strokeOpacity: !0,
    strokeWidth: !0
}, o = [ "Webkit", "ms", "Moz", "O" ];

Object.keys(t).forEach(function(e) {
    o.forEach(function(r) {
        t[function(e, r) {
            return e + r.charAt(0).toUpperCase() + r.substring(1);
        }(r, e)] = t[e];
    });
});

var n = /^ms-/, i = /([A-Z])/g, s = Array.isArray, a = Object.keys, f = /^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/;

module.exports = function(e) {
    var t = "";
    if ("string" == typeof e) return e;
    if (!e || 0 === a(e).length) return t;
    for (var o = a(e), n = 0, i = o.length; n < i; n++) {
        var f = o[n], c = e[f];
        if (s(c)) for (var l = 0, u = c.length; l < u; l++) t += r(f, c[l]); else t += r(f, c);
    }
    return t;
};